#ifndef TODO_EXCEPTIONS_H
#define TODO_EXCEPTIONS_H
#include <iostream>
#include <exception>

namespace todo {
	
/**
 * Generic TODO exception
 */
class Exception : public std::exception {
	const char* message;
public:
	Exception(const char* message_) : message(message_) { };
	Exception(const std::string message_) : message(message_.c_str()) { };
	virtual const char* what() const throw() { return message; }
};

} // todo

#endif // TODO_EXCEPTIONS_H
